package cn.com.zsw.gblog.modules.gblog.dto;


import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @Author: shiwangZhou
 * @Description:
 * @Date: 2020-06-22 11:41
 */
@Data
public class PostsSaveDTO {

    @ApiModelProperty(value = "id")
    private String id;
    @ApiModelProperty(value = "标题")
    private String title;

    @ApiModelProperty(value = "内容")
    private String content;

    @ApiModelProperty(value = "封面")
    private String banner;

    @ApiModelProperty(value = "分类")
    private List<String> category;

    @ApiModelProperty(value = "数据状态，0草稿，1发布")
    private Integer status;
}
